﻿namespace GameBasic
{
    public enum LogicalOperator
    {
        /// <summary>
        /// a == b
        /// </summary>
        Equal = 1 << 0,

        /// <summary>
        /// a != b
        /// </summary>
        NotEqual = 1 << 1,

        /// <summary>
        /// a & b
        /// </summary>
        And = 1 << 2,

        /// <summary>
        /// a | b
        /// </summary>
        Or = 1 << 3,

        /// <summary>
        /// a ~ b
        /// </summary>
        Xor = 1 << 4,

        /// <summary>
        /// a & b == 0
        /// </summary>
        None = NotEqual,

        /// <summary>
        /// a & b != 0
        /// </summary>
        Any = 1 << 5,

        /// <summary>
        /// a & b == a
        /// </summary>
        All = 1 << 6,
    }
}